package cn.northsea.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PurchaseTwoVO {
    private Integer purchaseId;//采购id
    private Integer purchaseQuantity;//购买数量
    private Integer status;//状态
    private Double total;//总计花费
    private String purchaseOrder;//采购订单号
    private Integer userId;//用户表
    private String userFullname;//真实姓名
    private String userUsername;//用户名
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date orderDate;
    private String supplierName;//供应商名称
    private String contactName;//联系人名称
    private String phone;//联系电话
    private Integer materialId;
}
